package org.ddmf.person.service;


import java.util.List;

import org.ddmf.person.model.People;
import org.ddmf.person.dao.PeopleDao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Component
public class PeopleService {

  @Autowired
  private PeopleDao peopleDao;

  public List<People> queryPeopleByName(String names) {    
	  
	 List<People> list = peopleDao.queryPeopleByUsername(names);
	 
	  return  list;

  }

 

}
